import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

import {
  Button,
  Field,
  Col,
  Row,
  Picker,
  Popup,
  Cascader,
  Tabbar,
  TabbarItem,
  Icon,
  Tab,
  Tabs,
  NavBar,
  Tag,
  DropdownMenu,
  DropdownItem,
  Search,
  List,
  PullRefresh,
  Calendar,
  RadioGroup,
  Radio,
  NoticeBar,
  Cell,
  Area,
  Uploader,
  ActionSheet,
  Skeleton,
  CellGroup,
  Dialog,
} from "vant";

createApp(App)
  .use(store)
  .use(router)
  .use(Button)
  .use(Field)
  .use(Col)
  .use(Row)
  .use(Picker)
  .use(Popup)
  .use(Cascader)
  .use(Tabbar)
  .use(TabbarItem)
  .use(Icon)
  .use(Tab)
  .use(Tabs)
  .use(NavBar)
  .use(Tag)
  .use(DropdownMenu)
  .use(DropdownItem)
  .use(Search)
  .use(List)
  .use(PullRefresh)
  .use(Calendar)
  .use(Radio)
  .use(RadioGroup)
  .use(NoticeBar)
  .use(Cell)
  .use(Area)
  .use(Uploader)
  .use(ActionSheet)
  .use(Skeleton)
  .use(CellGroup)
  .use(Dialog)
  .mount("#app");
